/**
 * Created by dell on 2018/12/6.
 */

const path = require('path');
const http = require('http');
const url = require('url');

http.createServer((req,res)=>{
   let obj = url.parse(req.url,true) ;
    res.end(obj.query.username + '==============='+obj.query.password);
}).listen(3000);

/*
 http://localhost:3000/?username=zhangsan&&password=123456
 zhangsan===============123456
 */